﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SWENAssignment
{
    public partial class updateFinalStaffSuccessfully : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblStaffId.Text = (string)Session["staffId"];
            if (!Page.IsPostBack)
            {
                staffDetails s = DBmanager.getByStaffId(lblStaffId.Text);
                lblStaffId.Text = s.StaffId;
                lblcontactNumber.Text = s.ContactNumber.ToString();
                lblAddress.Text = s.address;
                lblDutyType.Text = s.dutyType;
            }
        }

        protected void BtnBack_Click(object sender, EventArgs e)
        {
            Server.Transfer("searchStaffScuccessfullyUpdateVersion.aspx?");
        }
    }
}